<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Author" content="李艺江">
<title>登录</title>
<style>
body {
	background-color: #66CC00;
}

#title {
	text-align: center;
}

#form {
	width: 230px;
	height: 290px;
	margin: 0 auto;
	background-color: #77FF00;
}

font {
	color: #FF0000;
	font-size: 20px;
	font-weight: bold;
}

hr {
	height: 2px;
	border: none;
	background-color: #EEEE00;
}

label {
	color: #FFFFFF;
	font-size: 20px;
	font-weight: bold;
}

input {
	width: 120px;
}

#nameerr, #pwderr, #loginerr {
	height: 30px;
}

select {
	width: 110px;
}

#submit {
	width: 60px;
}
</style>
</head>
<body>
	<br />
	<br />
	<br />
	<br />
	<br />
	<div id="title">
		<h1>问&nbsp;卷&nbsp;调&nbsp;研&nbsp;系&nbsp;统</h1>
	</div>
	<div id="form">
		<form action="login_login.action" method="post">
			<label>登录</label> <br />
			<hr />
			<label>用户名:&nbsp;</label><input name="id" type="text">
			<div id="nameerr">
				<font>${requestScope.nameerr }</font>
			</div>
			<label>密&nbsp;码:&nbsp;</label><input name="pwd" type="password">
			<div id="pwderr">
				<font>${requestScope.pwderr }</font>
			</div>
			<label>用户角色:</label> <select name="role">
				<option value="1">普通用户</option>
				<option value="2">系统管理员</option>
			</select>
			<hr />
			<div id="loginerr">
				<font>${requestScope.loginerr }</font>
			</div>
			&nbsp;&nbsp; <input id="submit" type="submit" value="登录">
			&nbsp;
			<button>用户注册</button>
		</form>
	</div>
</body>
</html>